package com.imcrl.component.pictab
{
	import com.imcrl.component.ext.Sprite;
	import com.imcrl.core.IDatable;
	import com.imcrl.core.IPoolable;
	import com.imcrl.manager.Pool;
	
	public class PictabItem extends Sprite implements IPoolable,IDatable
	{
		private var _index:int;
		protected var _pool:Pool;
		protected var _data:*;
		
		public var sceneWidth:int;
		public var sceneHeight:int;
		public function PictabItem()
		{
		}
		
		
		public function set index(value:int):void{
			this._index=value;
		}
		
		public function get index():int{
			return this._index;
		}
		
		
		public function resize(w:int,h:int):void{
			this.sceneWidth=w;
			this.sceneHeight=h;
		}
		
		override public function dispose():void
		{
			super.dispose();
			_pool=null;
		}
		public function awaken():void
		{
		}
		public function set pool(value:Pool):void{
			_pool=value;
		}
		
		public function sleep():void
		{
		}
		
		public function get data():*{
			return _data;
		}
		
		public function set data(value:*):void{
			_data=value;
		}
		
	}
}